package org.dev.pf.iof.systemmanage.service;

import java.util.List;

import org.dev.pf.iof.systemmanage.dao.IMenuManageDao;
import org.dev.pf.iof.systemmanage.model.IofMenuinfo;
import org.dev.pf.iof.systemmanage.vo.MenuSearchVO;

public class MenuManageServiceImpl implements IMenuManageService {

	private IMenuManageDao theIMenuManageDao;

	public void setTheIMenuManageDao(IMenuManageDao theIMenuManageDao) {
		this.theIMenuManageDao = theIMenuManageDao;
	}

	public List<IofMenuinfo> searchMenu(MenuSearchVO searchVo) throws Exception {
		try {
			List<IofMenuinfo> results = theIMenuManageDao.selectMenu(searchVo);
			return results;
		} catch (Exception e) {
			e.printStackTrace();
			throw e;
		}
	}

}
